package com.ss.android.common.download;

import android.app.PendingIntent;
import android.content.Context;
import android.support.v4.app.NotificationCompat.Builder;

public final class NotificationCompatBuilder {
    public Builder builder;

    public NotificationCompatBuilder(Context arg2) {
        this.builder = new Builder(arg2);
    }

    public final NotificationCompatBuilder setAutoCancel() {
        if(this.builder != null) {
            this.builder.setAutoCancel(true);
        }

        return this;
    }

    public final NotificationCompatBuilder setContentIntent(PendingIntent arg2) {
        if(this.builder != null) {
            this.builder.setContentIntent(arg2);
        }

        return this;
    }
}

